package com.zmx.core.client.invokemethod;

/**
 * @Description: 返回数据状态枚举
 * @Author zhaomxr
 * @Date 2021-12-23 10:54
 */
public enum ReturnStatusEnum {

    OK(200, "job: [%s] not exit!"),
    ERROR(500, "job: [%s] execute fail!"),
    ISRUNNING(333, "job: [%s] is running!");

    private int code;

    private String msg;

    ReturnStatusEnum() {
    }

    ReturnStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
